#include<iostream>
using namespace std;
template<typename T1,typename T2>
class Example 
{
public:
	Example(T1, T2);
	void print();
private:
	T1 a;
	T2 b;
};
template <typename T1,typename T2>
Example<T1, T2>::Example(T1 x, T2 y)
{
	a = x;
	b = y;
}
template <typename T1,typename T2>
void Example<T1, T2>::print()
{
	cout << "a=" << a << " b=" << b<<endl;
}